#ifndef MISSIONSELECTION_H
#define MISSIONSELECTION_H

#include <QWidget>

namespace Ui
{
class MissionSelection;
}

class MissionSelection : public QWidget
{
    Q_OBJECT

    enum
    {
        COL_ID = 0, // hidden
        COL_CODE,
        COL_MARK,
        COL_ROCKET_MODEL,
        COL_COORDINATE,
        COL_METHOD,
        COL_LAUNCH_POINT,
        COL_LAUNCH_AZIMUTH,
        COL_LAUNCH_TIME,
    };

public:
    explicit MissionSelection(QWidget* parent = nullptr);
    ~MissionSelection();

public slots:
    void search();
    void jump();

signals:
    void selected(int row);

private:
    Ui::MissionSelection* ui;
};

#endif // MISSIONSELECTION_H
